<script type="application/json" id="selectors">
        [{
            "selector": "p[title*=\"bar\"]",
            "match": ["1"]
        }]
</script>
<div id="testDOM">
    <p id="1" title="foobarufoo">This paragraph should have a green background because its title attribute contains &quot;bar&quot;</p>
</div>
